package com.momo.springboot_dev_test.service;

import com.momo.springboot_dev_test.dao.UserDao;
import com.momo.springboot_dev_test.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserDao userDao;

    public User getUserById(Long id){
        return userDao.getUserById(id);
    }


}
